UkrSolution\UpcEanGenerator\features\products\Products C

Total Complexity 118
Dependencies 6
Dependents 2
Total lines 512
Lines of code 377
Logical lines of code 212
Comment lines 0
Methods 22
Properties 13

Methods 22

Method Rating Maintainability Complexity Lines of code
addCodeValueForNewProduct()
B
40 22 49
generateProductsCodes()
B
35 15 85
addCodeValueForNewProductWcAfterProductSave()
A
44 15 38
searchByProductCodeFieldParams()
A
51 13 25
searchByProductCodeFieldTables()
A
52 13 25
unassignFromFile()
A
46 8 38
woocommerce_process_product_meta()
S
60 6 12
noFreeCodeFoundInDatabaseNotice()
S
58 5 14
__construct()
S
52 4 22
woocommerce_product_options_sku()
S
68 2 7
woocommerce_variation_options()
S
70 2 6
woocommerce_save_product_variation()
S
69 2 6
getProductsInfo()
S
64 2 10
getAllProductsQuery()
S
73 1 4
getTotal()
S
73 1 4
getProductsWithEmptyCodes()
S
73 1 4
getEmptyCodesTotal()
S
73 1 4
getProductCodeValue()
S
74 1 4
setProductCodeValue()
S
69 1 6
codeValueNotUsed()
S
69 1 6
addSearchQueryParams()
S
73 1 4
addSearchQueryTables()
S
74 1 4